package com.pp.api.order;


import com.pp.common.bean.ResultObject;
import com.pp.common.constant.ApplicationNameConsts;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(value = ApplicationNameConsts.APPLICATION_ORDER_NAME)
@RequestMapping("test")
public interface OrderInfoService {

    @PostMapping("order/info")
    public ResultObject<?> queryOrderInfo(@RequestBody Map map);


}
